package com.cloudkinto.service.order.vo.amazon;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/7/2 17:01
 * @description:
 */
@Data
public class AmazonOrderExcelExportVo implements Serializable {
    /**
     * 亚马逊订单编号
     */
    @Excel(name = "亚马逊订单编号", width = 20,needMerge = true)
    private String amazonOrderNumber;

//    /**
//     * 卖家定义的订单编号
//     */
//    @Excel(name = "卖家定义的订单编号", width = 20,needMerge = true)
//    private String sellerOrderNumber;

    /**
     * 购买时间
     */
    @Excel(name = "购买时间", width = 20, format = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date purchaseDate;

    /**
     * 最近更新时间
     */
    @Excel(name = "最近更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date lastUpdateDate;

    /**
     * 订单状态
     */
    @Excel(name = "最近更新时间", width = 20,needMerge = true)
    private String orderStatus;

    /**
     * Amazonが出荷(AFN)、出品者が出荷(MFN)
     */
    @Excel(name = "发货方式", width = 20,needMerge = true)
    private String fulfillmentChannel;

//    /**
//     * 销售渠道
//     */
//    @Excel(name = "销售渠道", width = 20,needMerge = true)
//    private String salesChannel;
//
//    /**
//     * 订单路径
//     */
//    @Excel(name = "订单路径", width = 20,needMerge = true)
//    private String orderChannel;

    /**
     * 派送服务类型
     */
    @Excel(name = "派送服务类型", width = 20,needMerge = true)
    private String shipServiceLevel;

    /**
     * 订单寄送地址
     */
    @Excel(name = "订单寄送地址", width = 20,needMerge = true)
    private String shipAddress;

    /**
     * 收货人姓名
     */
    @Excel(name = "收货人姓名", width = 20,needMerge = true)
    private String shipName;

//    /**
//     * 收货城市
//     */
//    @Excel(name = "收货城市", width = 20,needMerge = true)
//    private String shipCity;
//
//    /**
//     * 收货人国家
//     */
//    @Excel(name = "收货人国家", width = 20,needMerge = true)
//    private String shipCounty;
//
//    /**
//     * 收货人地区
//     */
//    @Excel(name = "收货人地区", width = 20,needMerge = true)
//    private String shipDistrict;

    /**
     * 收货人地域
     */
    @Excel(name = "收货人地域", width = 20,needMerge = true)
    private String shipStateOrRegion;

    /**
     * 收货人邮编
     */
    @Excel(name = "收货人邮编", width = 20,needMerge = true)
    private String postalCode;

    /**
     * 收货人电话
     */
    @Excel(name = "收货人电话", width = 20,needMerge = true)
    private String shipPhone;
//
//    /**
//     * 收货人地址类型 Commercial, Residential
//     */
//    @Excel(name = "收货人地址类型", width = 20,needMerge = true)
//    private String shipAddressType;

    /**
     * 付款方式 COD CVS
     */
    @Excel(name = "付款方式", width = 20,needMerge = true)
    private String paymentMethod;

    /**
     * COD 代收款金额
     */
    @Excel(name = "代收款金额", width = 20,needMerge = true)
    private String paymentCod;

    /**
     * 购买人邮箱
     */
    @Excel(name = "购买人邮箱", width = 20,needMerge = true)
    private String buyerEmail;

    /**
     * 购买人name
     */
    @Excel(name = "购买人姓名", width = 20,needMerge = true)
    private String buyerName;

    /**
     * 服务类型
     */
    @Excel(name = "服务类型", width = 20,needMerge = true)
    private String shipmentServiceLevelCategory;

    /**
     * 订单类型  StandardOrder Preorder
     */
    @Excel(name = "订单类型", width = 20,needMerge = true)
    private String orderType;

    /**
     * 最早发货日期
     */
    @Excel(name = "最早发货日期", width = 20, format = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date earliestShipDate;

    /**
     * 最晚发货日期
     */
    @Excel(name = "最晚发货日期", width = 20, format = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date lastShipDate;

    /**
     * 最早送达日期
     */
    @Excel(name = "最早送达日期", width = 20, format = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date earliestDeliveryDate;

    /**
     * 最晚送达日期
     */
    @Excel(name = "最晚送达日期", width = 20, format = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date lastDeliveryDate;
//
//    /**
//     * 采购单号
//     */
//    @Excel(name = "采购单号", width = 20,needMerge = true)
//    private String purchaseOrderNumber;

    /**
     * 订单总金额
     */
    @Excel(name = "订单总金额", width = 10,needMerge = true)
    private String orderTotal;

    /**
     * 是否发货
     */
    @Excel(name = "是否发货", replace = {"未发货_0","已发货_1"}, width = 10,needMerge = true)
    private Integer isSendOut;

    /**
     * 是否回传运单号
     */
    @Excel(name = "是否回传运单号", replace = {"否_0","是_1"}, width = 10,needMerge = true)
    private Integer isUploadTrackNo;

    /**
     * 系统备注
     */
    @Excel(name = "系统备注", width = 20,needMerge = true)
    private String systemMemo;

    private Long shopId;

    private Long companyId;

    @ExcelCollection(name = "SKU信息")
    private List<AmazonOrderItemExcelExportVo> itemExcelExportVoList;
}
